12#ifndef ROC_CORE_ENDIAN_H_
13#define ROC_CORE_ENDIAN_H_
17#include <netinet/in.h>
uint16_t hton16(uint16_t v)
Host to network (16 bits).
uint32_t ntoh32(uint32_t v)
Network to host (32 bits).
uint16_t ntoh16(uint16_t v)
Network to host (16 bits).
uint32_t hton32(uint32_t v)
Host to network (32 bits).